package com.lidx.back.statistics.commons;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.IAcsClient;
import com.aliyuncs.profile.DefaultProfile;
import com.aliyuncs.profile.IClientProfile;

public class CDNManager {
	private static IAcsClient client = null;
	
	public static IAcsClient getAcsClient() {
		if(client == null){
			IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou",
					"LTAIdsnJNpxiDrKD", "fNMUdQxj5D3d0o3i7eRTzSxcdRMXgX");
			client = new DefaultAcsClient(profile);
		}
		return client;
	}
}
